// 结合律
const _ = require('lodash')
// const { flowRight } = require('lodash')

// const f = _.flowRight(_.toUpper, _.first, _.reverse)
// 结合律
const f = _.flowRight(_.flowRight(_.toUpper, _.first), _.reverse)
const f = _.flowRight(_.toUpper, _.flowRight(_.first, _.reverse))
console.log(f(['one', 'two', 'three'])) // THREE

// 调试
